package com.nacl.webflux;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author Mr.NaCl
 * @since 2024/9/26
 */
@SpringBootApplication
public class WebfluxApplication {
    public static void main(String[] args) {
        // method one
        SpringApplication.run(WebfluxApplication.class, args);

        // method two
        //        SpringApplicationBuilder builder = new SpringApplicationBuilder()
        //                .web(WebApplicationType.REACTIVE).sources(SpringbootDemoApplication.class);
        //        builder.run(args);
    }
}
